﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/Admin.Master" CodeBehind="ResultsCrossTabulation.aspx.cs" Inherits="Votations.NSurvey.WebAdmin.ResultsCrossTabulation" %>
<%@ Register TagPrefix="uc1" TagName="SurveyListControl" Src="UserControls/SurveyListControl.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentLinkAction" runat="server">
 <span class="action-span">
 <a href="ResultsReporting.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("GraphicResultsReportHyperlink") %></a>  |
 <a href="FieldReporting.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("TextFieldsResultsReportHyperlink") %></a>  |
 <a href="ResultsCrossTabulation.aspx?SurveyID=<%=SurveyId %>"> <%=GetPageResource("CrossTabResultsReportHyperlink") %></a>|
<a href="ExportData.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("ExportDataHyperlink") %></a>

</span>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentTitle" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
<LINK href="css/nsurveyadmin.css" type=text/css rel=stylesheet >

    <table class=innerText>
        <TBODY>
        <tr>
          <td colSpan=2>
            <table>
              <tr>
                <td width="99%"><font class=titleFont 
                  ><asp:Literal id="SurveyCrossTabTitle" runat="server" EnableViewState="False" Text="Survey cross tabulation results"></asp:Literal></font> </td>
                <td align=right><uc1:surveylistcontrol id="SurveyList" runat="server"></uc1:surveylistcontrol></td></tr></table><IMG src="images/linebreak.gif" > 
        </td></tr>
        <tr>
          <td>&nbsp;&nbsp; </td>
          <td>
            <table class=innerText>
              <tr>
                <td noWrap width=180><STRONG><asp:Literal id="BaseQuestionLabel" runat="server" EnableViewState="False" Text="Base question :"></asp:Literal></STRONG> </td>
                <td width=480><asp:DropDownList id=BaseQuestionDropDownList runat="server" AutoPostBack="True" onselectedindexchanged="BaseQuestionDropDownList_SelectedIndexChanged"></asp:DropDownList></td></tr>
              <tr>
                <td width=180 height=18><STRONG><asp:Literal id="CompareQuestionLabel" runat="server" EnableViewState="False" Text="Compare question :"></asp:Literal></STRONG> </td>
                <td height=18><asp:DropDownList id=CompareQuestionDropDownList runat="server" AutoPostBack="True" onselectedindexchanged="BaseQuestionDropDownList_SelectedIndexChanged"></asp:DropDownList></td></tr>
              <tr>
                <td width=700 valign="top" colSpan=2>
                  <P><table class="smallText" width="100%">
                    <TBODY>
                    <tr><td class="crossTabBaseCell">&nbsp;&nbsp;</td></td><td width="99%"><asp:Label id=BaseQuestionChoiceLabel runat="server">Choose a base question ...</asp:Label></td></tr>
					<tr><td class="crossTabCompareCell">&nbsp;&nbsp;</td><td width="99%"><asp:Label id=CompareQuestionChoiceLabel runat="server">Choose a compare question ...</asp:Label></td></tr></table></p>
                  <P><asp:PlaceHolder id=CrossTabResultsPlaceHolder runat="server"></asp:PlaceHolder></P>
                  <P>&nbsp;</P></TD></TR></TBODY></TABLE><br 
            ></TD></TR></TBODY></TABLE>
            </asp:Content>